//
//  AdvertModel.m
//  TouTiao
//
//  Created by 柴旭 on 16/9/12.
//  Copyright © 2016年 Match. All rights reserved.
//

#import "AdvertModel.h"

@implementation AdvertModel
+(instancetype)advertModelWithDict:(NSDictionary*)dict{
    
    return [[self alloc]initWithDict:dict];
}
-(instancetype)initWithDict:(NSDictionary*)dict{
    if (self=[super init]) {
        _h=dict[@"h"];
        _w=dict[@"w"];
        _img=dict[@"img"];
        _rl=dict[@"rl"];
    }
    return self;
}
@end
